package com.tsystems.school.jabber.DataBase.Entities;

import javax.persistence.*;

/**
 * Created by IntelliJ IDEA.
 * User: Kirill
 * Date: 23.08.11
 * Time: 20:23
 * To change this template use File | Settings | File Templates.
 */
@Entity
@Table(name="UserStatus")
public class UserStatus  extends ManagedEntity{
	@Column(name = "status")
	private String status;

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

//	@Override
//	public boolean equals(Object o) {
//		if (this == o) return true;
//		if (o == null || getClass() != o.getClass()) return false;
//
//		UserStatus that = (UserStatus) o;
//
//		if (id != that.id) return false;
//		if (status != null ? !status.equals(that.status) : that.status != null) return false;
//
//		return true;
//	}
//
//	@Override
//	public int hashCode() {
//		int result = id;
//		result = 31 * result + (status != null ? status.hashCode() : 0);
//		return result;
//	}
}
